import Vue from 'vue'
import './cube-ui'
import App from './App.vue'
import router from './routes'
import BetterScroll from 'better-scroll'
import ws from './utils/websocket'
import 'amfe-flexible'

Vue.prototype.$ws = ws;
Vue.config.productionTip = false
Vue.prototype.$BScroll = (el, option) => {
  return new BetterScroll(el,option);
}



new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
